DioDocs for PDF
GetEnum<T>(IPdfArray,Int32,Nullable<T>) メソッド

DS.Documents.Pdf アセンブリ > GrapeCity.Documents.Pdf.Spec 名前空間 > IPdfArrayExt クラス > GetEnum メソッド : GetEnum<T>(IPdfArray,Int32,Nullable<T>) メソッド
現在の配列。
値のインデックス。
デフォルト値。
指定されたインデックスにある null 許容の列挙値を取得します。値が存在しない場合、または列挙値に変換できない場合は、defValue (null の場合もあります) を返します。
シンタックス
'宣言
 
Public Overloads Shared Function GetEnum(Of T As {New, Struct})( _
   ByVal array As IPdfArray, _
   ByVal index As System.Integer, _
   ByVal defValue As System.Nullable(Of T) _
) As System.Nullable(Of T)
public static System.Nullable<T> GetEnum<T>( 
   IPdfArray array,
   System.int index,
   System.Nullable<T> defValue
)
where T: new(), struct

パラメータ

array
現在の配列。
index
値のインデックス。
defValue
デフォルト値。

型パラメータ

T

戻り値の型

指定されたインデックスの値、または defValue
参照

IPdfArrayExt クラス
IPdfArrayExt メンバ
オーバーロード一覧